From: Carlos Garnacho Date: Tue, 30 Dec 2025 13:40:06 +0000 (+0100) Subject: switcherPopup: Drop seat state check after grabs X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~39^2~1^2~56 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=018b9456265fd46c071f054b74c586d631e64764;p=gnome-shell.git switcherPopup: Drop seat state check after grabs Grabs are non-failable now, we do not need to check for the backend seat actually having been able to perform the request. Part-of: --- diff --git a/js/ui/switcherPopup.js b/js/ui/switcherPopup.js index c1515be45..b4cb9d57f 100644 --- a/js/ui/switcherPopup.js +++ b/js/ui/switcherPopup.js @@ -124,11 +124,6 @@ export const SwitcherPopup = GObject.registerClass({ return false; const grab = Main.pushModal(this); - // We expect at least a keyboard grab here - if ((grab.get_seat_state() & Clutter.GrabState.KEYBOARD) === 0) { - Main.popModal(grab); - return false; - } this._grab = grab; this._haveModal = true; this._modifierMask = primaryModifier(mask); @@ -709,4 +704,3 @@ export function drawArrow(area, side) { cr.fill(); cr.$dispose(); } -